﻿<%@ Page Title="" Language="C#" MasterPageFile="~/template/Default.Master" AutoEventWireup="true" CodeBehind="ArtistsDetail.aspx.cs" Inherits="EmptyWallGallery.FrontEnd.ArtistsDetail" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <link rel="stylesheet" href="/Library/fancybox/jquery.fancybox-1.3.4.css" type="text/css" />
    <script type="text/javascript" src="/Library/fancybox/jquery.fancybox-1.3.4.pack.js"></script>
    <script type="text/javascript">
        $(document).ready(function () {
            $("a[rel=TopProduct]").fancybox({
                'transitionIn': 'none',
                'transitionOut': 'none',
                'titlePosition': 'over',
                'titleFormat': function (title, currentArray, currentIndex, currentOpts) {
                    return '<span id="fancybox-title-over">Image ' + (currentIndex + 1) + ' / ' + currentArray.length + ' ' + title + '</span>';
                }
            });
        });
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ctph" runat="server">
    <h1 class="article" runat="server" id="titleArtist" style="text-transform: uppercase"></h1>

    <asp:ListView ID="lstPhoto" runat="server">
        <LayoutTemplate>
            <div style="width: 100%; float: left;">
                <div runat="server" id="itemPlaceholder"></div>
            </div>
        </LayoutTemplate>
        <ItemTemplate>
            <div class="albumItem imageItem">
                <div style="width: 180px; height: 184px; overflow: hidden;">
                    <%# WriteImage(Eval("ImageUrl").ToString(), Convert.ToDateTime(Eval("ImageDate").ToString()), Eval("UserId").ToString())%>
                </div>
                <%#Eval("ImageDesc").ToString() %>
            </div>
        </ItemTemplate>
    </asp:ListView>

    <div class="paging clearfix">
        <asp:DataPager ID="dtPgArticle" runat="server" PagedControlID="lstPhoto" PageSize="12"
            QueryStringField="Page" OnPreRender="DtPgArticlePreRender">
            <Fields>
                <asp:NumericPagerField ButtonType="Link" />
            </Fields>
        </asp:DataPager>
    </div>

    <h1 runat="server" id="title" class="article"></h1>
    <span id="PostInfo" runat="server" class="postinfo"></span>
    <div id="body" runat="server" class="body"></div>
</asp:Content>
